package com.zhixiang.wbl.visitor.model;

import com.zhixiang.wbl.visitor.bean.BaseBean;

/**
 * Created by dongzhixiang on 16/5/19.
 */
public class MyModel extends BaseBean
{
  public   enum MinType{
        MineTypeImage,
        MineTypeText
    }
   //private static final int MineTypeImage=1;
  // private static final int MineTypeText=2;
   private int id;
    private String title;
    private String value;
    private MinType  type;
    boolean fromNet;
    boolean canChange = false;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public MinType getType() {
        return type;
    }

    public void setType(MinType type) {
        this.type = type;
    }

    public boolean isFromNet() {
        return fromNet;
    }

    public void setFromNet(boolean fromNet) {
        this.fromNet = fromNet;
    }

    public boolean isCanChange() {
        return canChange;
    }

    public void setCanChange(boolean canChange) {
        this.canChange = canChange;
    }

    public MyModel(int id, String title, String value, MinType type, boolean fromNet) {
        this.id = id;
        this.title = title;
        this.value = value;
        this.type = type;
        this.fromNet = fromNet;
    }
    public MyModel(int id, String title, String value, MinType type, boolean fromNet,boolean canChange)
    {
        this.id = id;
        this.title = title;
        this.value = value;
        this.type = type;
        this.fromNet = fromNet;
        this.canChange = canChange;
    }
}
